<div align="center">
  <DIV class=boxright>
    <DIV class=bltop2>
      <div align="left">
        <strong>&nbsp;&nbsp;&nbsp;当前位置：&nbsp;&nbsp;
          <%=link_to "回收站", :action=>"trash"%>
        </strong>
      </div>
    </DIV>
    <DIV class="c_box">
      <DIV class="rep_left">
        <%form_tag :action=>"operation" do%>
          <TABLE class="tatop7px" cellSpacing=0 cellPadding=4 width="100%" border=0>
            <TBODY>
              <TR>
                <TD class=rtdw width="4%">
                <INPUT id="chkAll" onclick="title_check('chkAll', 'chkID[]')"  type="checkbox" value="checkbox"></TD>
                <TD class=rep_li_c width="40%"><STRONG>文件名</STRONG></TD>  
                <TD class=rep_li_c width="10%"><STRONG>上传人</STRONG></TD>
                <TD class=rep_li_c width="10%"><STRONG>大小</STRONG></TD>
                <TD class=rep_li_c width="20%"><STRONG>创建日期</STRONG></TD>
                <TD class=rep_li_c width="15%"><STRONG>删除人</STRONG></TD>
              
              </TR>
              <%for file in @files%>
                <TR id="tr_<%=file.id%>" style="TEXT-DECORATION: none" onMouseOver="this.style.backgroundColor='#EFF8FF'" onmouseout="this.style.backgroundColor=''">
                  <TD class=rtdw2>
                  <INPUT onclick="return rows_check('chkAll', 'chkID[]')" type=checkbox value="<%=file.id%>" name="chkID[]"></TD>
                  <TD class=rep_li_td_bt ALIGN="left"><%=file.cryped_filename%></TD>        
                  <TD class=rep_li_td_bt><%=file.creater.login_name%></TD>
                  <TD class=rep_li_td_bt><%=file.file_size%>(K)</TD>
                  <TD class=rep_li_td_bt><%=file.created_at.to_s(:db)%></TD>
                  <TD class=rep_li_td_bt><%=file.deleter.login_name%></TD>
                </TR>
              <%end%>
            </TBODY>
          </TABLE>
        
          <TABLE class="tatop7px" cellSpacing=0 cellPadding=4 width="100%" border=0>
            <TBODY>
              <TR>
                <TD  align="center">
                  <%=will_paginate @files%>
                </TD>
              </TR>
            </TBODY>
          </TABLE>
          <TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
            <TBODY>
              <TR vAlign="top">
              <TR vAlign="top" ALIGN="left">
                <TD>
                  <INPUT onclick="return check_select('chkID[]')"
                         name="button" class="bt1" id="recovery"  type="submit" value="还原">
                  <INPUT onclick="return check_select('chkID[]')"
                         name="button" class="button" id="destroy"   type="submit" value="彻底删除">
                </TD>
              </TR>
            </TBODY>
          </TABLE>
        <%end%>
      </DIV>
    </DIV>
  </DIV>
</div>

